Since the class Circle is a
kind of class Point, an instance of Circle, say acircle, is a point.
Consequently, each circle behaves like a point. For example, you can |
|
move points in x direction
by altering the value of x. Similarly, you move circles in this direction by
altering their x value. |
|